<?php include("../Service/WebClass/plan/allExportClass.php");
$Entity = new Export;
$Entity->MyTask();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- DW6 -->
<head>
<!-- Copyright 2005 Macromedia, Inc. All rights reserved. -->
<title>全掲載情報取得</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="../css/common.css" type="text/css" />
<script language="JavaScript" src="../js/common.js" type="text/javascript"></script>
<script type="text/javascript">
<!--

function do_download(frm, act, export_type){
	document.getElementById('actionName').value =act;
	document.getElementById('adwform').submit();
}

-->
</script>

</head>
<body bgcolor="#F4FFE4">
<?php include("../head.php") ?> 
  
<table width="100%" border="0" cellspacing="0" cellpadding="0">

 <tr>
    <td width="165" valign="top" bgcolor="#5C743D"><?php include("../menu.php");?></td>
    <td width="813" colspan="2" align="left" valign="top">
    <div class="notice">AdWords</div>

<form name="adwform" id="adwform" method="post">


<table class="tbl where" width="100%" border="0" cellpadding="4" cellspacing="0">
	<tbody><tr>
		<td>
			キャンペーン
<select name="search_campaign_select" id="search_campaign_select" class="txBox">
			<?php echo $Entity->campList;?>
			  </select>
 				<script>
				document.getElementById("search_campaign_select").value = <?php echo $Entity->camp; ?>;
				</script>
			&nbsp;&nbsp;

			ステータス
<select name="search_status" class="txBox">
	<option value="1">On
	</option><option value="0">Off
	</option><option value="-1" >On/Off
</option></select>
 				<script>
				document.getElementById("search_campaign_select").value = <?php echo $Entity->search_status; ?>;
				</script>
&nbsp;&nbsp;		<input type="hidden" name="actionName" id="actionName" /></td>
	</tr>
</tbody></table>
<br>
<table class="tbl" width="100%" border="0" cellpadding="4" cellspacing="0">
	<tbody><tr>

		<td class="td9" width="200">広告グループ</td>
		<td class="td4 left">
			<input class="btn_exp csv" title="CSV出力" value="" onclick="do_download(this.form, 'Adgroup', 'csv');" type="button"></td>
	</tr>
	
	<tr>
		<td class="td9 top">クリエイティブ</td>

		<td class="td4 border">
			<input class="btn_exp csv" title="CSV出力" value="" onclick="do_download(this.form, 'Creative', 'csv');" type="button"></td>
	</tr>
	
	<tr>
		<td class="td9 top">キーワード</td>
		<td class="td4 border">

			<input class="btn_exp csv" title="CSV出力" value="" onclick="do_download(this.form, 'Keyword', 'csv');" type="button"></td>
	</tr>
</tbody></table>
</form>			
    
    </td>
  </tr>
</table>
<?php include("../foot.php");?>
</body>
</html>
